package com.nariano.server.services.cityservice;

import java.util.List;

import com.nariano.server.domain.entities.City;
import com.nariano.server.domain.entities.User;
import com.nariano.server.utils.aop.rwsemaphore.ReadTransaction;

/**
 * Read only intefrace
 *
 */
public interface CityService {
    
	@ReadTransaction
    List<City> getCities();
    
	@ReadTransaction
    List<City> getCities(User user);
    
	@ReadTransaction
	List<City> findCity(String name);
   
	@ReadTransaction
    void updateCity(City city);
}
